# __author: iamironman
import xadmin
from .models import CourseCategory


class CourseCategoryModelAdmin(object):
    pass


xadmin.site.register(CourseCategory, CourseCategoryModelAdmin)

from .models import Course


class CourseModelAdmin(object):
    pass


xadmin.site.register(Course, CourseModelAdmin)

from .models import Teacher


class TeacherModelAdmin(object):
    pass


xadmin.site.register(Teacher, TeacherModelAdmin)

from .models import CourseChapter


class CourseChapterModelAdmin(object):
    pass


xadmin.site.register(CourseChapter, CourseChapterModelAdmin)

from .models import CourseLesson


class CourseLessonModelAdmin(object):
    pass


xadmin.site.register(CourseLesson, CourseLessonModelAdmin)

from .models import PriceDiscountType


class PriceDiscountTypeModelAdmin(object):
    pass


xadmin.site.register(PriceDiscountType, PriceDiscountTypeModelAdmin)

from .models import PriceDiscount


class PriceDiscountModelAdmin(object):
    pass


xadmin.site.register(PriceDiscount, PriceDiscountModelAdmin)

from .models import CoursePriceDiscount


class CoursePriceDiscountModelAdmin(object):
    pass


xadmin.site.register(CoursePriceDiscount, CoursePriceDiscountModelAdmin)

from .models import CourseTime


class CourseTimeModelAdmin(object):
    list_display = ['course', 'title', 'timer', 'price']


xadmin.site.register(CourseTime, CourseTimeModelAdmin)
